<?php
/**
 * 应用配置文件
 * User: Traun
 * Date: 2021/8/21
 * Time: 15:14
 * @copyright Copyright (c) 湖南悦奥网络技术有限公司 .
 */

return [
    $database = [
        'db' => 'mysql',
        'host' => '127.0.0.1',
        'port'  =>  '3306',
        'dbname'    =>  'mvc',
        'username'  =>  'mvc',
        'password'  =>  'Lf7hyCcykH4TdcjN',
        'charset'   =>  'utf8',
    ],
    // 应用整体配置
    'app'=>[
        'default_platform' => 'index'
    ],
    // 前台配置
    'index'  =>  [
        'default_controller'    =>  'User',//默认控制器
        'default_action'    =>  'listAll',
    ]
];